var fs = require('fs')

fs.writeFile('./db.js', 'alert(123123)',function(err){
    if(!err){
        console.log('write success')
    }
})